home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / pdltips.doc < prev    next >
Text File  |  1995-03-31  |  4KB  |  90 lines

  1. (Comp.sys.handhelds) 
  2. Item: 3770 by tedb at hpcvra.cv.hp.com. 
  3. Author: [Ted Beers] 
  4.   Subj: PDL Tips 
  5.   Date: Fri Jul 26 1991 
  6.  
  7.     If you have a variable you transferred from the HP 48 to your PC 
  8.     using Kermit, you can easily load it into the HP 48 Program 
  9.     Development Link (PDL) environment.  Here's how: 
  10.  
  11.     1. Start PDL. 
  12.  
  13.     2. Execute File / Open Application.  Type the name of the file 
  14.        containing the variable (e.g., "FRED.VAR") and choose OK. 
  15.  
  16.        PDL interprets the "%%HP" header line (if any) in the variable 
  17.        file and sets the proper modes for your new application.  The 
  18.        variable is initially unnamed. 
  19.  
  20.     3. Execute Variable / Name/Move Variable.  Type the name of the 
  21.        variable (e.g., "FRED") and choose OK. 
  22.  
  23.        You've now created a new PDL application consisting of the 
  24.        variable loaded in step 2.  To simplify future work with the 
  25.        application, you should save it in a file with the ".APP" 
  26.        (application) file name extension.  (Remember that PDL 
  27.        distinguishes between HP 48 variable names [which are highly 
  28.        flexible in format] and DOS file names [which must match rigid 
  29.        DOS file naming conventions].) 
  30.  
  31.     4. Execute File / Save As.  Replace the old extension (if any) 
  32.        (e.g., ".VAR") with ".APP" and choose OK. 
  33.  
  34.     The variable (and your new application) can now be maintained with 
  35.     PDL.  You can edit the variable, add new variables to the 
  36.     application, transfer the variable(s) to the HP 48, and so on. 
  37.  
  38.     This technique works for an ASCII-format variable obtained from most 
  39.     any source, including your own editor.  For HP 48 directory 
  40.     variables, you should use a text editor to divide the directory 
  41.     contents into individual variables first.  See "Converting 
  42.     Applications from Other Formats" in "Creating and Editing 
  43.     Applications" in the PDL on-line Help. 
  44.  
  45.     Ted W. Beers 
  46.     Hewlett-Packard 
  47.  
  48. -------------- 
  49.  
  50. (Comp.sys.handhelds) 
  51. Item: 3802 by tedb at hpcvra.cv.hp.com. 
  52. Author: [Ted Beers] 
  53.   Subj: HP 48 PDL Tip of the Week 
  54.   Date: Mon Aug 05 1991 
  55.  
  56.     Creating New Variables 
  57.     ---------------------- 
  58.  
  59.     The HP 48 Program Development Link (PDL) organizes and presents your 
  60.     HP 48 application as a set of variables--either simple names (e.g., 
  61.     FRED) or relative or absolute HP 48 paths (e.g., { HOME UTIL CLIP }). 
  62.     Since variable creation is a major component of application 
  63.     development, PDL is optimized for easy and fast variable creation. 
  64.  
  65.     The "easiest" (i.e., most obvious) way to create a variable is to 
  66.     pull down the Variable menu, click on New Variable, type the new 
  67.     variable name or path, and press Enter.  However, there is a faster 
  68.     way for experienced PDL users to create variables.  Here it is: 
  69.  
  70.       In any variable window, at the beginning of a new line, type "/" 
  71.       followed by the new variable name or path, and press Enter. 
  72.  
  73.     The new variable is created and its empty variable window replaces 
  74.     the one you were in before. 
  75.  
  76.     For example, after typing the last few lines of a program: 
  77.  
  78.         ... 
  79.         SWAP DROP 
  80.       >> 
  81.  
  82.     You can immediately create the next new variable by typing: 
  83.      
  84.       /FRED 
  85.  
  86.     This is much faster than mousing around! 
  87.  
  88.                                 Ted W. Beers 
  89.                                 Hewlett-Packard 
  90.